home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form <<formname>>
- BackColor = &H00C0C0C0&
- Caption = "<<caption>>"
- ClientHeight = 5820
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 7365
- Height = 6225
- Left = 1035
- LinkTopic = "<<formname>>"
- ScaleHeight = 5820
- ScaleWidth = 7365
- Top = 1140
- Width = 7485
- Begin PictureBox Picture1
- Align = 1 'Align Top
- BackColor = &H0080FFFF&
- Height = 495
- Left = 0
- ScaleHeight = 465
- ScaleWidth = 7335
- TabIndex = 0
- Top = 0
- Width = 7365
- Begin CommandButton bForm
- Caption = "&Close"
- Height = 315
- Index = 4
- Left = 6000
- TabIndex = 5
- Top = 60
- Width = 795
- End
- Begin CommandButton bForm
- Caption = "&Update"
- Height = 315
- Index = 3
- Left = 5160
- TabIndex = 4
- Top = 60
- Width = 795
- End
- Begin CommandButton bForm
- Caption = "&Delete"
- Height = 315
- Index = 2
- Left = 4320
- TabIndex = 3
- Top = 60
- Width = 795
- End
- Begin CommandButton bForm
- Caption = "&Edit"
- Height = 315
- Index = 1
- Left = 3480
- TabIndex = 2
- Top = 60
- Width = 795
- End
- Begin CommandButton bForm
- Caption = "&Add"
- Height = 315
- Index = 0
- Left = 2640
- TabIndex = 1
- Top = 60
- Width = 795
- End
- Begin Data Data1
- BackColor = &H00C0C0C0&
- Caption = "<<caption>>"
- Connect = "<<connectstring>>"
- DatabaseName = "<<databasename>>"
- Exclusive = 0 'False
- Height = 315
- Left = 60
- Options = 0
- ReadOnly = 0 'False
- RecordSource = ""
- Top = 60
- Width = 2475
- End
- End
- <<fieldcontrols>>
- Option Explicit
- Const B_ADD = 0
- Const B_EDIT = 1
- Const B_DELETE = 2
- Const B_UPDATE = 3
- Const B_CLOSE = 4
- Sub Form_Load()
- dim cSQL as string
- <<buildSQL>>
- Data1.DatabaseName = "<<databasename>>"
- Data1.RecordSource = cSQL
- end sub
- Sub bForm_Click (Index As Integer)
- Select Case Index
- Case B_ADD
- Case B_EDIT
- Case B_DELETE
- Case B_UPDATE
- Case B_CLOSE
- Unload Me
- End Select
- End Sub
-